#ifndef INTERNALVEHICLEDIALOG_H
#define INTERNALVEHICLEDIALOG_H

#include <QDialog>
#include <QMessageBox>
#include <QStandardItemModel>
#include "eparking_sqlite.h"

namespace Ui {
class InternalVehicleDialog;
}

class InternalVehicleDialog : public QDialog
{
    Q_OBJECT

public:
    explicit InternalVehicleDialog(QWidget *parent, EParkingSqlite* db);
    ~InternalVehicleDialog();

private:
    Ui::InternalVehicleDialog *ui;
    EParkingSqlite* db;

    QStandardItemModel *innerListModel; // 数据模型

    void refreshInternalTable();
private slots:
    void on_pushButton_add_clicked();
    void on_pushButton_remove_clicked();
};

#endif // INTERNALVEHICLEDIALOG_H
